package com.zxf.course.service;

import java.util.List;

import com.zxf.course.bean.Student;

public interface StudentService {
	/**
	 * 根据id查询学生
	 * @param id
	 */
	public Student selectStudentById(Integer id);
	/**
	 * 学生登录
	 * @param student
	 * @return
	 */
	public boolean studentLogin(Student student);
	/**
	 * 获取学生列表
	 * @return
	 */
	public List<Student> selectStudentList();
	/**
	 * 根据id删除学生
	 * @param studentNo
	 * @return
	 */
	public Boolean deleteStudent(Integer studentNo);
	/**
	 * 添加学生
	 * @param student
	 * @return
	 */
	public Boolean addStudent(Student student);
	/**
	 * 查看此学生的详情
	 * @param studentNo
	 * @return
	 */
	public Boolean selectStudentDetail(Integer studentNo);
}
